#!/bin/bash

read -p "输入成绩" score

if [ $score -ge 90 -a $score -le 100 ];then
	echo "优秀"
elif [ $score  -ge 80 -a $score -lt 90 ];then
	echo "良好"
elif [ $score -ge 70 -a $score -lt 80 ];then
	echo "中等"
elif [ $score -ge 60 -a $score -lt 70 ];then
	echo "及格"
else
	echo "差"
fi

